package com.okq.service;

import com.okq.entity.Logistics;
import com.okq.util.page.Page;

import java.util.List;

/**
 * 描述 : 物流接口
 * 作者 : zdl
 * 日期 : 2017/6/29 15:09
 */
public interface ILogisticsService {
    void saveLogistics(Logistics logistics);

    void deleteLogistics(Logistics logistics);

    void updateLogistics(Logistics logistics);

    void saveOrUpdateLogistics(Logistics logistics);

    Logistics getLogisticsById(String id);

    List<Logistics> listAllLogistics();

    Page<Logistics> pageByLogistics(Page<Logistics> page, Logistics logistics);
}
